package com.qf.md.service;

import com.qf.md.domain.MdUnitMeasure;

import java.util.List;

/**
 * --- 天道酬勤 ---
 *
 * @author GUOFUCHENG
 * @date 2025/8/28
 * @desc
 */
public interface IMdUnitService {

    List<MdUnitMeasure> list(MdUnitMeasure mdUnitMeasure);


    List<MdUnitMeasure> selectPrimaryUnitList(MdUnitMeasure mdUnitMeasure);

    boolean checkUnitNameUnique(MdUnitMeasure mdUnitMeasure);

    boolean checkUnitCodeUnique(MdUnitMeasure mdUnitMeasure);

    int insertMdUnitMeasure(MdUnitMeasure mdUnitMeasure);
}
